package ru.jexp.mvc;

public class EventHandler implements IListener {
	private HandlerMap handlers = new HandlerMap();

	public void mapEvent(String eventType, IListener listener) {
		handlers.put(eventType, listener);
	}

	public void handle(Event e) {
		handlers.handle(e);
	}

}
